import { createSSRApp } from 'vue';
import App from './App.vue';
import store from './store';
import { routeInterceptor } from './interceptors/routeInterceptor';

// style
import 'virtual:uno.css';
import '@/styles/index.scss';

export function createApp() {
	const app = createSSRApp(App);
	app.use(store);
	app.use(routeInterceptor);

	return {
		app
	};
}
